//
//  DZNetAPI.h
//  DaoZiJinFu
//
//  Created by dzjf on 16/10/27.
//  Copyright © 2016年 dzjf. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "DZRequestUtil.h"
@interface DZNetAPI : NSObject
#define JZNEeWork_status [DZNetAPI JDNetworkingStatus]

//#define BASE_URL @"http://api.daozijinfu.com/v1.0/"
#define BASE_URL @"http://api.ludaojinfu.com/v1.0/"

+ (void)request:(DZRequestUtil *)request success:(void (^)(id response))success failure:(void (^)(NSError *error))failue;

+ (void)requesSync:(DZRequestUtil *)request
           success:(void (^)(id response))success
           failure:(void (^)(NSError *error))failue;

+ (BOOL)JDNetworkingStatus;
+(NSDictionary *)dictionaryWithJsonString:(NSString *)jsonString;
@end
